#!/bin/bash
# start broker
function start_broker() {
  echo "启动broker"
  cd /app/pmapp/data/rongshu/apache-pulsar-2.10.6/ || exit
  bin/pulsar-daemon start broker
  echo "验证是否启动成功"
  echo "$(bin/pulsar-admin brokers list pulsar-service-1)"
}
